I cleaned up acm_ops.c and eliminated returns inside the switch
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 25 Nov 2005 08:15:08 +0000 (09:15 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 25 Nov 2005 08:15:08 +0000 (09:15 +0100)
commit9ad74f9849bd250feecb0fdea7626264a5dcfe71
tree577fffa5f679646ecdc01d570ee6cfa99a6c4e23
parentb588d4451a04632c7bb2f558fc74bb11e922f3b1
I cleaned up acm_ops.c and eliminated returns inside the switch
statement. When we need locks, we can place them now around the switch
statement.

I also included the comments from Rusty and now return -EPERM for denied
permission errors.

Signed-off: Reiner Sailer <sailer@us.ibm.com>
xen/common/acm_ops.c